//
//  AAWGameCoreAppDelegate.m
//  AAWGameCore
//
//  Created by David Wagner on 29/06/2009.
//  Copyright Zygote Commando 2009. All rights reserved.
//

#import "AAWGameCoreAppDelegate.h"

@implementation AAWGameCoreAppDelegate

@synthesize window;
@synthesize glView;

- (void)applicationDidFinishLaunching:(UIApplication *)application {
    
	//glView.animationInterval = 1.0 / 60.0;
	window.game = glView.game;
	[glView startAnimation];
}


- (void)applicationWillResignActive:(UIApplication *)application {
	//glView.animationInterval = 1.0 / 5.0;
}


- (void)applicationDidBecomeActive:(UIApplication *)application {
	//glView.animationInterval = 1.0 / 60.0;
}


- (void)dealloc {
	[window release];
	[glView release];
	[super dealloc];
}

@end
